#include "shape.h"

Node::Node(){
	next = NULL;
}

Node::~Node(){

}

void Node::setNext(Node* newNode){
	next = newNode;
}

void Node::setData(Shape newData){
	data=newData;
}

Shape Node::getData(){
	return data;
}

Node* Node::getNext(){
	return next;
}

Shape::Shape(){
	length=0;
	breath=0;
}

Shape::~Shape(){

}

void Shape::setLength(int lengthInput){
	length=lengthInput;
}

void Shape::setBreath(int breathInput){
	breath=breathInput;
}


int Shape::getLength(){
	return length;
}

int Shape::getBreath(){
	return breath;
}

int Shape::getArea(int input1, int input2){
	return (input1*input2);
}
